Search dylib path from cargo before system
authorXidorn Quan <me@upsuper.org>
Mon, 18 Jul 2016 07:25:22 +0000 (17:25 +1000)
committerXidorn Quan <me@upsuper.org>
Mon, 18 Jul 2016 07:25:22 +0000 (17:25 +1000)
commit8be27b5b7cdacbadd2d2edba3eb25d8ac09f90f2
tree0e2f446a942faea250961e26ed9fe27cb26834fc
parent15c1cd22721005babb20d141219b7aa41a84a203
Search dylib path from cargo before system

Cargo should have more knowledge about what it is looking for, and thus
its paths should be more correct compared to system's. When there are
conflicts, the search paths provided by the build system should take
priority.
src/cargo/ops/cargo_rustc/compilation.rs